#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ClientEngine.h"

#define EMPTY ""
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT;
	
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();

    void on_pbTestVideo_clicked();

    void on_cbVideo_currentIndexChanged(int index);

    void on_cbInput_currentIndexChanged(int index);

    void on_cbOutput_currentIndexChanged(int index);

   // void on_MainWindow_destroyed();

    void on_hsPlayout_valueChanged(int value);

    void on_hsRecording_valueChanged(int value);

private:
    Ui::MainWindow *ui;
	CClientEngine newClientEngine;
	QMainWindow *localVideoWindow;
	QMainWindow *remoteVideoWindow;
	bool inACall;
	bool test;
};

#endif // MAINWINDOW_H
